package com.stone.zeus.component.grpc.dubbo.impl;

import com.stone.zeus.component.grpc.api.microservice.DubboMicroService;
import com.stone.zeus.component.grpc.dubbo.DubboMircoConcreteService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author fujianjian
 * @date 2023/4/14 14:46
 **/
@Slf4j
@DubboService(group = "default", version = "1.0", interfaceClass = DubboMicroService.class)
public class DubboMircoConcreteServiceImpl implements DubboMircoConcreteService {

    @Override
    public String hello(String name) {
        log.info("request param:{}", name);
        return String.format("Hello %s", name);
    }
}
